package cn.itsource.utils;

/**
 * @program fccar
 * @Author luoc
 * @Date 2024/09/04 17:10
 * @Version 1.0.0
 * @Description
 */

public class IdUtil {
    private static long workerId = 1L;
    private static long datacenterId = 1L;

    public static long getId(){
        return cn.hutool.core.util.IdUtil.getSnowflake(workerId, datacenterId).nextId();
    }
}
